package com.smartscreen.baseinfomanage.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.time.LocalDateTime;

@TableName("venue")
public class Venue {
    @TableId(value = "venue_id", type = IdType.INPUT)
    private String venueId;
    
    @TableField("name")
    private String name;
    
    @TableField("capacity")
    private int capacity;
    
    @TableField("type")
    private String type;
    
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    
    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;

    public Venue() {}

    public Venue(String venueId, String name, int capacity, String type) {
        this.venueId = venueId;
        this.name = name;
        this.capacity = capacity;
        this.type = type;
    }

    // Getters and Setters
    public String getVenueId() { return venueId; }
    public void setVenueId(String venueId) { this.venueId = venueId; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public int getCapacity() { return capacity; }
    public void setCapacity(int capacity) { this.capacity = capacity; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    public LocalDateTime getCreatedAt() { return createdAt; }
    public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }
    public LocalDateTime getUpdatedAt() { return updatedAt; }
    public void setUpdatedAt(LocalDateTime updatedAt) { this.updatedAt = updatedAt; }
}